package com.yanqu.road.dao.db;

import com.yanqu.road.dao.dbV2.Database;

public class DatabaseMgr {
    public static DBManager getDbManager() {
        return new DBManager();
    }

    private static final Database database = new Database(getDbManager(), DbNameStrategy.getCrossDb());

    private static final Database userDatabase = new Database(getDbManager(),DbNameStrategy.getUserDb());

    public static Database getDataBase() {
        return database;
    }

    public static Database getUserDatabase(){
        return userDatabase;
    }
}
